package com.ferry.wallpaper.service;

import com.ferry.wallpaper.domain.User;
import com.ferry.wallpaper.utils.Response;

public interface UserService {


    Response register(String email,String password);

    Response login(String email, String password);

    User get(Long id);

    boolean sign(Long id);

    boolean buy(Long wallId,Long userId,Integer price);

    boolean update(User user);

    boolean modifyIcon(Long id,byte[] bytes,String name);
}
